package com.tai.design.bridge;

/**
 * The type Oprating system.
 *
 * @version v1.0
 * @ClassName: OpratingSystem
 * @Description: 抽象的操作系统类(抽象化角色)
 * @Author: taylor
 */
public abstract class OpratingSystem {

    /**
     * The Video file.
     */
//声明videFile变量
    protected VideoFile videoFile;

    /**
     * Instantiates a new Oprating system.
     *
     * @param videoFile the video file
     */
    public OpratingSystem(VideoFile videoFile) {
        this.videoFile = videoFile;
    }

    /**
     * Play.
     *
     * @param fileName the file name
     */
    public abstract void play(String fileName);
}
